package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap16 extends OSMap
	{
		public function OSMap16()
		{
			super();

			var ground:OSGround = new OSGround(0, 400, 180, 60, 0, false);
			ground.setNoErosionDown([18, 19, 20, 21, 22, 23, 24, 25, 26]);
			ground.setNoErosionLeft([0, 9, 18]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 460, 180, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7, 8]);
			ground.setNoErosionDown([1, 2, 3, 4, 5, 6, 7]);
			ground.setNoErosionLeft([0]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 1040, 960, 40, 0, false);
			ground.setNoErosionUp([3, 4, 5, 29]);
			ground.setNoErosionDown([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95]);
			ground.setNoErosionLeft([0, 48]);
			ground.setNoErosionRight([47, 95]);
			ground.erode();
			add(ground);

			ground = new OSGround(20, 480, 140, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6]);
			ground.setNoErosionDown([1, 2, 3, 4, 5]);
			ground.erode();
			add(ground);

			ground = new OSGround(40, 500, 100, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4]);
			ground.setNoErosionDown([1, 2, 3]);
			ground.erode();
			add(ground);

			ground = new OSGround(60, 520, 60, 520, 0, false);
			ground.setNoErosionUp([0, 1, 2]);
			ground.setNoErosionDown([75, 76, 77]);
			ground.erode();
			add(ground);

			add(new OSBridge(180, 420, 10, 5, false));

			ground = new OSGround(580, 400, 20, 640, 0, false);
			ground.setNoErosionDown([31]);
			ground.erode();
			add(ground);

			add(new OSBridge(600, 540, 9, 5, false));

		}
	}
}
